package com.maila.xiaoaobusiness.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.ListView;

import com.cjj.MaterialRefreshLayout;

import com.maila.xiaoaobusiness.R;
import com.maila.xiaoaobusiness.adapter.TradeAdapter;
import com.zhy.autolayout.AutoRelativeLayout;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * 交易记录
 * Created by Administrator on 2017/10/31.
 */

public class TradeRecodeActivity extends AppCompatActivity {
    @BindView(R.id.white_return_iv)
    AutoRelativeLayout whiteReturnIv;
    @BindView(R.id.lv_trade)
    ListView lvTrade;
    @BindView(R.id.hot_refresh)
    MaterialRefreshLayout hotRefresh;
    TradeAdapter adapter;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_trade_recode);
        ButterKnife.bind(this);
        adapter=new TradeAdapter(this);
        lvTrade.setAdapter(adapter);
    }

    @OnClick(R.id.white_return_iv)
    public void onViewClicked() {
        finish();
    }
}
